@charset "utf-8";

.hm_layout {
    width: 100%;
    max-width: 640px;
    min-width: 320px;
    margin: 0 auto;
    position: relative;
}

.hm_header {
    position: fixed;
    left: 0;
    right: 0;
    height: 40px;
    width: 100%;
    z-index: 1000;
}

.hm_header_box {
    width: 100%;
    max-width: 640px;
    min-width: 320px;
    margin: 0 auto;
    background: rgba(201, 21, 35, 1);
    height: 40px;
    position: relative;
}

.hm_header_box .icon_logo {
    width: 60px;
    height: 36px;
    position: absolute;
    background-position: 0 -103px;
    top: 4px;
    left: 10px;
}

.hm_header_box form {
    width: 100%;
    padding-left: 75px;
    padding-right: 50px;
    height: 40px;
    position: relative;
}

.hm_header_box form input {
    width: 70%;
    height: 30px;
    border-radius: 15px;
    margin-top: 5px;
    padding-left: 30px;
}

.hm_header_box form .icon_search {
    height: 20px;
    width: 20px;
    position: absolute;
    background-position: -60px -109px;
    top: 10px;
    left: 85px;
}

.hm_header_box .login {
    width: 50px;
    height: 50px;
    line-height: 40px;
    text-align: center;
    color: #fff;
    position: absolute;
    right: -10px;
    top: 0;
    font-size: 15px;
}

.hm_banner{
    width: 100%;
    overflow: hidden;
    position: relative;
}
.hm_bannerImg{
    width: 1000%;
    position: relative;
    left: -100%;
 
}
.hm_bannerImg > li {
    width: 10%;
    float: left;
}
.hm_bannerImg > li img{
    width: 100%;
    display: block;
}
.hm_bannerIndicator{
    width: 128px;
    height: 10px;
    position: absolute;
    left: 50%;
    bottom: 5px;
    transform: translateX(-50%);
}
.hm_bannerIndicator > li{
    width: 6px;
    height: 6px;
    border-radius: 3px;
    border: 1px solid #fff;
    float: left;
    margin-left: 10px;
}
.hm_bannerIndicator > li:first-of-type{
    margin-left: 0px;
}
.hm_bannerIndicator > li.active{
    background-color: #fff;
}


.nav-box {
    width: 100vw;
    max-width: 640px;
    min-width: 300px;
    margin: 0 auto;
    padding: 10px;
}

.nav-box .top-nav,
.nav-box .bottom-nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.nav-box .top-nav > li,
.nav-box .bottom-nav > li {
    flex: 1; /* 使用 flex-grow */
    height: 100%; 
}

.nav-box .top-nav > li a,
.nav-box .bottom-nav > li a {
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
}

.nav-box .top-nav > li a > img,
.nav-box .bottom-nav > li a > img {
    width: 60px;
}

.nav-box .top-nav > li a > p,
.nav-box .bottom-nav > li a > p {
    width: 100%;
    text-align: center;
}

.nav-box .bottom-nav {
    height: 100px;
    margin-top: 20px;
}
/* 秒杀区域块*/
.hm_sk{


}
.hm_sk .product_box_tit{
    border-bottom: none;
    padding-left: 0;
}

.hm_sk .sk_icon{
    background: url("../img/sk_icon.png") no-repeat;
    background-size: 16px 20px;
    width: 16px;
    height: 20px;
    float: left;
    margin-top: 3px;
}

.hm_sk .sk_name{
    color: #d8505c;
    font-size: 15px;
    float: left;
}

.hm_sk .sk_time{
    float: left;
    margin-top: 8px;
}
.hm_sk .sk_time span{
    float: left;
    width: 15px;
    height: 15px;
    line-height: 15px;
    text-align: 15px;
    text-align: center;
    background: #333;
    color: #fff;
    margin-left: 3px;
}

.hm_sk .sk_time  span:nth-child(3n){
    background: transparent;
    color: #333;
    width: 5px;
}
/* 秒杀区块 主题内容 */
.hm_sk  .product_box_con{
    padding:20px;
}
.hm_sk .product_box_con>ul{
    width: 100%;
}

.hm_sk .product_box_con > ul > li{
    width: 33.33%;
    float: left;
    text-align: center;
}

.hm_sk .product_box_con > ul > li img{
    width: 60%;
    display: inline-block;
}

.hm_sk .product_box_con > ul >li >p:first-of-type{
    color: #d8505c;
    padding: 5px;
}
.hm_sk .product_box_con > ul > li >p:last-of-type{
    text-decoration: line-through;
    color: #666;
    padding-top: 5px;
}


.product_box > .product_box_tit{
    width:100%;
    height:30px;
    line-height: 30px;
    /*边框线 */
    border-bottom:1px solid #ccc;
    padding-left:30px;
}

.product_box > .product_box_tit > h3{
    position: relative;
    color: #666;
    font-weight: normal;
    font-size: 15px;
}

.product_box > .product_box_tit > h3::before{
    content:"";
    position:absolute;
    width: 3px;
    height: 12px;
    background-color: #e92322;
    top: 9px;
    left: -8px;
}

.w_50{
    display: block;
    width: 50%;
}

.w_50>img{
    width: 100%;
    display: block;
}
.b_right{
    border-right: 1ps solid #ccc;
}
.b_bottom{
    border-bottom: 1px solid #ccc;
}